import { createWebHistory, createRouter} from 'vue-router'

const router = createRouter({
    history: createWebHistory(),
    routes: [
        {
            path: '/',
            name: 'Page1',
            component: () => import('@/views/Page1.vue')
        },
        {
            path: '/page2',
            name: 'Page2',
            component: () => import('@/views/Page2.vue')
        }
    ]
})

export default router